package tianrun.ziguan.api.calculate.config.dto.response;

import java.math.BigDecimal;

public class AssetLabelDataBody {
    private String label;
    private Long time;
    private String labelName;
    private BigDecimal value;

    public AssetLabelDataBody(String label, Long time, String labelName, BigDecimal value) {
        this.label = label;
        this.time = time;
        this.labelName = labelName;
        this.value = value;
    }

    public Long getTime() {
        return time;
    }

    public void setTime(Long time) {
        this.time = time;
    }

    public String getLabelName() {
        return labelName;
    }

    public void setLabelName(String labelName) {
        this.labelName = labelName;
    }

    public static AssetLabelDataBody of(String label, Long time, String labelName, BigDecimal value) {
        return new AssetLabelDataBody(label,time,labelName,value);
    }

    public BigDecimal getValue() {
        return value;
    }

    public void setValue(BigDecimal value) {
        this.value = value;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }
}
